#pragma once

#include <sstream>
#include <string>
#include "./logger.h"

namespace xlog {
/**
 * 日志上下文
 */
struct LogContext : public std::ostringstream
{
    LogContext() = default;
    ~LogContext() = default;
    
    xlog::log_level m_log_level;
    std::string m_filename;
    std::string m_function_name;
    uint32_t m_code_line;
};

}